<thead>			
	<tr>
		<?php echo $this->partial('index/manage/no-save-order.phtml', 'admin', array($this->url(array('action'=>'save-order')))); ?>
		<th>
			<?php echo $this->partial('index/manage/header.phtml','admin',array('caption'=>$this->captions,'column'=>'inbound_code')); ?>
		</th>
		<th>
			<?php echo $this->partial('index/manage/header.phtml','admin',array('caption'=>$this->captions,'column'=>'inbound_note')); ?>
		</th>
		<th>
			<?php echo $this->partial('index/manage/header.phtml','admin',array('caption'=>$this->captions,'column'=>'inbound_create_time')); ?>
		</th>		
		<th>
			<?php echo $this->partial('index/manage/header.phtml','admin',array('caption'=>$this->captions,'column'=>'inbound_create_user')); ?>
		</th>
		<th>
			<?php echo $this->partial('index/manage/header.phtml','admin',array('caption'=>$this->captions,'column'=>'inbound_warehouse_code')); ?>
		</th>
		<th> 
			<?php echo $this->partial('index/manage/header.phtml','admin',array('caption'=>"Đơn vị ".$this->string_inbound_type_2." hàng",'column'=>'company_name')); ?>
		</th>	
		<th>
			<?php echo $this->partial('index/manage/header.phtml','admin',array('caption'=>$this->captions,'column'=>'inbound_detail_product_code')); ?>
		</th>
		<th>
			<?php echo $this->partial('index/manage/header.phtml','admin',array('caption'=>"Tên hàng hóa",'column'=>'inbound_detail_product_code')); ?>
		</th>
		<th>
			<?php echo $this->partial('index/manage/header.phtml','admin',array('caption'=>$this->captions,'column'=>'inbound_detail_product_unit_code')); ?>
		</th>			
		<th>
			<?php echo $this->partial('index/manage/header.phtml','admin',array('caption'=>$this->captions,'column'=>'inbound_detail_product_quantity')); ?>
		</th>
	</tr>
</thead>
<tbody>
	<?php if (count($this->paginator) > 0): $no=0;?>
	<?php foreach ($this->paginator as $row): ?>
	<tr class='row<?php echo ($no++)%2 ?>'>
		<?php echo $this->partial('index/manage/order.phtml', 'admin', array($no)) ?>
		<td class="is_code">
			<?php echo $row->inbound_code ?>
		</td>
		<td class='left'>
			<?php echo $row->inbound_note; ?>
		</td>
		<td class='center'>
			<?php echo $this->partial('index/format/time.phtml','admin',array($row->inbound_create_time)); ?>
		</td>
		<td class='left'>
			<?php echo $row->inbound_create_user." - ".$row->m_Array['account_fullname']; ?>
		</td>
		<td class='left'>
			<?php echo $row->inbound_warehouse_code." - ".$row->m_Array['warehouse_name']; ?>
		</td>
		<td class='left'>
			<?php echo $row->m_Array['company_name']; ?>	
		</td>
		<td>
			<?php echo $row->m_Array['inbound_detail_product_code']; ?>
		</td>
		<td>
			<?php echo $row->m_Array['product_name']; ?>
		</td>
		<td>
			<?php echo $row->m_Array['unit_name']; ?>
		</td>		
		<td class="right">
			<?php echo $this->partial('index/format/float.phtml','admin',array($row->m_Array['inbound_detail_product_quantity'])); ?>
		</td>	
	</tr>
	<?php endforeach; ?>
	<?php endif;?>
</tbody>